package com.cyt.work.enrollment.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * 模板导出
 *
 * @author caideyong
 * @date 2019/11/ 10:53
 */
@Data
public class EnrollmentRuleImportVo implements Serializable {

    @Excel(name = "*标题")
    @NotBlank(message = "标题不能为空")
    private String name;

    @Excel(name = "*招生单位")
    @NotBlank(message = "招生单位不能为空")
    private String unit;

    @Excel(name = "招生简介")
    private String introduction;

    public EnrollmentRuleImportVo() {
    }

    public EnrollmentRuleImportVo(String name, String unit, String introduction) {
        this.name = name;
        this.unit = unit;
        this.introduction = introduction;
    }
}